package cn.haoheng.org.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;
@Data
public class Depatment {
    //主件id
    private Long id;
    //部门编号
    private String sn;
    //部门名称
    private String name;
    //
    private String dirPath;
    //部门状态
    private int state;
    //部门管理员
    private Long manager_id;
    //使用引用属性来表明关系
    private Employee manager;
    private Depatment parent;
    private List<Depatment> chidren= new ArrayList<>();
}
